#include<stdio.h>
#include<conio.h>
#include<math.h>
int main()
{
    char ten;
    int sl;
    float dg, tt, gtgt;
    printf("nhap ten sp: ");
    scanf("%c",&ten);
    fflush(stdin);
    printf("nhap so luong: ");
    scanf("%d",&sl);
    printf("nhap don gia: ");
    scanf("%f",&dg);
    tt=sl*dg;
    gtgt=tt*0.1;
    printf("\n ten san pham: %c",ten);
    printf("\n tong tien la: %f",tt);
    printf("\n gtgt la: %f",gtgt);
    getch();
}
    
